<#if baseUrl??>
    <#assign path=baseUrl />
<#elseif request??>
    <#assign path=request.contextPath /> <#--path的目的是为了得到项目名-->
</#if>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="Dashboard">
    <meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">

    <title>DASHGUM - FREE Bootstrap Admin Template</title>

    <!-- Bootstrap core CSS -->
    <link href="../assets/css/bootstrap.css" rel="stylesheet">
    <!--external css-->
    <link href="../assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link rel="stylesheet" type="text/css" href="../assets/css/zabuto_calendar.css">
    <link rel="stylesheet" type="text/css" href="../assets/js/gritter/css/jquery.gritter.css" />
    <link rel="stylesheet" type="text/css" href="../assets/lineicons/style.css">

    <!-- Custom styles for this template -->
    <link href="../assets/css/style.css" rel="stylesheet">
    <link href="../assets/css/style-responsive.css" rel="stylesheet">

    <script src="../assets/js/chart-master/Chart.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>



    <link rel="stylesheet" href="bootstrap-3.3.7/css/bootstrap.min.css" />
    <script type="text/javascript" src="bootstrap-3.3.7/js/jquery.js"></script>
    <script type="text/javascript" src="bootstrap-3.3.7/js/bootstrap.min.js"></script>
    <![endif]-->
</head>

<body style="background-color:#b8dbbd">

<div style="margin-top: 30px;">
    <div style="margin-top:100px;">
        <h1 style="text-align: center">管理员登陆</h1>
        <form class="form-horizontal" action="${path}/dl/login" method="post"  >
        <#--  <input type="hidden" name="id" value="${b.id}">   -->

            <div class="form-group" style="margin-top: 50px">
                <label for="username" class="col-sm-1 control-label col-sm-offset-5">账户</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="username" name="username"
                           placeholder="请输入名称">
                </div>
            </div>

            <div class="form-group">
                <label for="password" class="col-sm-1 control-label col-sm-offset-5">密码</label>
                <div class="col-sm-2">
                    <input type="text" class="form-control" id="password" name="password"
                           placeholder="请输入密码">
                </div>
            </div>


            <div class="form-group">
                <div class=" col-sm-offset-6">
                    <input type="submit" value="登录">
                    <input type="button" value="注册" onclick="zhuce()">
                </div>
            </div>
        </form>


    </div>
</div>
<script type="text/javascript">
    function zhuce() {
        location="/dl/tozhuce";
    }
</script>

</body>
</html>
